package me.ele.spring.cloud;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 *
 */
@EnableDiscoveryClient
@SpringBootApplication
public class UserServiceApplication
{
    public static void main( String[] args )
    {
//        SpringApplication.run(UserServiceApplication.class, args);
        new SpringApplicationBuilder(UserServiceApplication.class).web(true).run(args);
    }
}
